<!--
  Generated template for the SetPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar color="primary">
    <ion-title>个人设置</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>
  <ion-item>昵称<ion-input class="sty" [(ngModel)]="username"></ion-input></ion-item>
  <ion-item> 手机号<ion-input class="sty" [(ngModel)]="mobilePhoneNumber"></ion-input></ion-item>
  <ion-item *ngIf="flag"> 所属支部<ion-input class="sty" [(ngModel)]="belong" ></ion-input></ion-item>
  <ion-item *ngIf="flag"> 职务<ion-input class="sty" [(ngModel)]="position"></ion-input></ion-item>
  <button full ion-button color="primary" (click)="saveUser()">保存</button>

  <!-- <ion-item>
    <ion-label>手机号码</ion-label>
  <textarea>{{ data[1] }} </textarea>
  </ion-item> -->

  
</ion-content>
